package cn.com.surker.common;

/**
 * 接口返回Code定义
 * 1*****	前端参数错误
 * 	100***		基本操作错误
 * 	101***		合同参数错误
 * 	102***		地图参数错误
 * 	103***		材料参数错误
 * 	104***		生产参数错误
 * 	105***		微信订单参数错误
 * 	106***		统计类参数错误
 * 2*****	后端返回值错误
 * 	200***		用户相关返回码
 * 	201***		合同相关返回码
 * 	202***		地图相关返回码
 * 	203***		材料相关返回码
 * 	204***		生产相关返回码
 * 	205***		微信订单返回码
 * 	206***		统计类返回码
 * 	207***		无人过磅返回码
 */
public enum Code {

	/**
	 * 成功
	 * <p/>
	 * HTTP 状态码 200
	 */
	SUCCESS(0,"操作成功"),
	/**
	 * 成功响应
	 * <p/>
	 * 等同于HTTP 状态码 200
	 */
	OK(200,"成功响应"),
	/**
	 * 处理失败
	 * <p/>
	 * HTTP 状态码 200
	 */
	FAILED(-1,"处理失败"),
	ERR_INVALID_PARAMETER(400000,"无效的参数"),
	ERR_EXCEPTION_OCCURS(500000,"发生异常"),
	/***基本错误信息***/
	/**参数错误**/
	PARAM_ERROR(100001,"参数错误"),
	/**状态标识错误**/
	STATUS_ERROR(100002,"状态标识错误"),
	/**参数为空**/
	PARAM_EMPTY(100003,"参数为空"),
	/** 未选择数据源 **/
	NO_DATASOURCE(100004,"未选择数据源"),
	/** 站点错误 **/
	STATION_ERROR(100005,"站点错误"),
	/** 没有选择站点 **/
	NO_STATION(100006,"没有选择公司"),
	NO_CHOICE_DATA(100007,"请选择待操作的数据"),
	STATUS_DISABLE(100008,"该数据已过期或已删除"),
	EXAMINE_LEVEL_ERROR(100009,"该账号没有审核权限"),
	NO_EDIT_ROLE(100010,"您没有修改权限"),
	NO_PURVIEW(100011,"没有权限"),
	ERROR_DATA(100012,"业务数据不存在"),
	ERROR_WECHAT_USER(100013,"未授权获取微信公众号用户信息"),
	NO_FILE(1000014, "没有上传文件"),
	NO_FILE_DATA(1000015, "没有查询到关联文件信息"),
	FILE_TYPE_ERROR(1000016, "文件类型错误"),


	/** 材料参数错误 **/
	/*** 未选择供应商 ***/
	NO_MATERIAL_SUPPLIER_ID(103001,"未选择供应商"),
	/*** 未选择供应商识别码 ***/
	NO_MATERIAL_SUPPLIER_CODE(103002,"未选择供应商识别码"),
	/*** 未选择供应商名称 ***/
	NO_MATERIAL_SUPPLIER_NAME(103003,"未选择供应商名称"),
	/*** 未选择供应商简称 ***/
	NO_MATERIAL_SUPPLIER_ABBREVIATION(103004,"未选择供应商简称"),
	/*** 未选择生效日期 **/
	NO_MATERIAL_EFFECTIVE_DATE(103005,"未选择生效日期"),
	/*** 未选择签订日期 ***/
	NO_MATERIAL_SIGN_DATE(103006,"未选择签订日期"),
	MSTERIAL_IS_USED(103007,"该材料未处于可使用状态"),
	OUT_OF_STOCK(103008,"超出库存"),
	NO_MATERIAL_MODEL(103009,"未选择材料/物资规格"),
	MATERIAL_MODEL_ERROR(103010,"材料/物资规格错误"),
	MATERIAL_STORAGE_ERROR(103011,"材料/物资已领用,禁止修改"),
	MATERIAL_STORE_ERROR(103012,"库存不足,禁止修改"),
	NO_MATERIAL_STORE(103013,"未查询到该材料库存信息,禁止修改"),
	NO_MATERIAL_STORAGE(103014,"未查询到该材料入库信息"),
	PROPERTY_SAVE_ERROR(103015,"更新固定资产入库错误"),
	OUTBOUND_LOG_SAVE_ERROR(103016,"更新出库日志错误"),
	MATERIAL_STORAGE_ITEM_SAVE_ERROR(103017, "更新出库-库存变更日志错误"),
	MATERIAL_OUT_ITEM_DATE_ERROR(103018, "更新出库-出库时间早于了入库时间"),
	/** 生产参数错误 **/
	/** 微信订单参数错误 **/
	/** 统计类参数错误 **/
	/*** 未选择统计类型 ***/
	NO_CENSUS_STATUS(106001,"未选择统计类型"),

	NO_PAY_TYPE(107001, "未选择支付类型"),
	PAY_MONEY_ERROR(107002, "支付金额不能为0"),

	/******用户错误信息码***********/
	/**未获取到通讯录***/
	UN_USER_BOOK(200001,"未获取到通讯录"),
	/**未获取用户信息**/
	UN_USER_INFO(200002,"未获取用户信息"),
	/**未获取到部门信息**/
	UN_ORIGIN_INFO(200003,"未获取到部门信息"),
	/**不能重复关联用户**/
	NO_REPEAT_RELATION_USER(200004,"不能重复关联用户"),
	/**请输入旧密码**/
	INPUT_OLD_PWD(200005,"请输入旧密码"),
	/**密码为空**/
	INPUT_NEW_PWD(200006,"密码为空"),
	/**两次密码不一致**/
	NO_PWD_FIT(200007,"两次密码不一致"),
	/**菜单不存在**/
	NO_MENU(200008,"菜单不存在"),
	/**验证码为空**/
	VERIFY_CODE_EMPTY(200009,"验证码为空"),
	/**验证码错误**/
	VERIFY_CODE_ERROR(200010,"验证码错误"),
	/**账号已禁用**/
	ACCOUNT_DISABLE(200011,"账号已禁用"),
	/**密码错误**/
	PWD_ERROR(200012,"密码错误"),
	/***登录账号为空**/
	ACCOUNT_EMPTY(200013,"登录账号为空"),
	/***账号未设置登录密码**/
	UNSET_ACCOUNT_PWD(200014,"账号未设置登录密码"),
	/**您未关联部门或该站点未关联数据源,""),请联系管理人员**/
	UN_RELATION_STATION(200015,"您未关联部门或该站点未关联数据源"),
	/**请输入部门***/
	CHOOSE_ORIGIN_INFO(200016,"请选择部门"),
	/**请选择菜单**/
	CHOOSE_MENU_INFO(200017,"请选择菜单"),
	/**不能重复关联用户**/
	NO_REPEAT_RELATION_ORIGIN(200018,"不能重复关联用户"),
	/**请输入旧密码**/
	OLD_PWD_ERROR(200019,"请输入旧密码"),
	NO_DATA(200020,"未查询到数据"),
	NO_POSITION(200021,"未获取到岗位信息"),

	/*****ERP系统错误提示******/
	/**请选择合同**/
	CONTRACT_EMPTY(201001,"合同信息为空"),
	/***请输入方量值**/
	CONTRACT_STERE_EMPTY(201002,"请输入方量值"),
	/***强度等级为空**/
	LEVEL_EMPTY(201003,"强度等级为空"),
	/***业务员为空**/
	SALESMAN_EMPTY(201004,"业务员为空"),
	/***标号价格且价格不能低于1**/
	PRICE_LT1(201005,"标号价格且价格不能低于1"),
	/***请勿重复添加,""),该标号已存在**/
	PRICE_REPEAT(201006,"该标号已存在,请勿重复添加"),
	/***请填写合同名称**/
	CONTRACT_NAME_EMPTY(201007,"请填写合同名称"),
	/***请选择客户名称**/
	CLIENT_NAME_EMPTY(201008,"客户名称为空"),
	/***发票抬头不能为空**/
	REPORTNAME_EMPTY(201009,"发票抬头不能为空"),
	/***请填写签订日期**/
	CONTRACT_SIGNDATE_EMPTY(201010,"请填写签订日期"),
	PRODUCTION_24_HOURS(201011,"超过24小时不能进行修改"),
	PRODUCTION_GT_TRANSFER_STERE(201012,"退料方量不能大于发货方量"),
	GROUP_TAXCODE_EMPTY(201013,"企业税号不能为空"),
	GROUP_TAXCODE_ERROR(201014, "企业税号格式错误"),
	TICKET_ORIGIN_EMPTY(201015, "开票单位信息错误"),
	BUILD_EMPTY(201016, "施工单位为空"),
	SAVE_CONTRACT_ERROR(201017, "保存合同信息异常"),
	SALE_CLIENT_ERROR(201018, "客户不存在或已禁用"),
	SALE_SUPPLY_MONEY_EMPTY(201019, "合同授信金额为空"),
	SALE_SUPPLY_DAY_EMPTY(201020, "合同授信天数为空"),
	SUPPLIER_TAXCODE_EMPTY(201021, "企业纳税人识别号为空,请校正企业纳税人识别号"),
	ERP_CONTRACT_EMPTY(201022, "ERP合同信息为空,请联系管理员"),
	ERP_PUMP_NORMS_EMPTY(201023, "ERP泵送规格为空,请联系管理员"),
	ERP_PUMP_TYPE_EMPTY(201024, "ERP泵送类型为空,请联系管理员"),
	EXE_CONTRACT_PRICE(201025, "合同已存在相同时间标号价格信息"),
	EXE_CONTRACT_PUMP_PRICE(201026, "合同已存在相同时间泵送规格、泵送类型价格信息"),
	EXE_CONTRACT_SUBSIDY(201027, "合同已存在相同时间补贴信息"),
	CONTRACT_SUBSIDY_COUNT_EMPTY(201028, "合同补贴计算方式为空"),
	CONTRACT_SUBSIDY_TYPE_EMPTY(201029, "合同补贴类型为空"),
	SALE_SUPPLY_MAX_MONEY(201030, "合同授信金额不能超过30万"),
	SALE_SUPPLY_MAX_DAY(201031, "合同授信天数不能超过10天"),
	EXE_CONTRACT_SPECIAL(201032, "合同已存在相同时间特性价格信息"),
	NOT_CONTRACT_SALES(201033, "该销售人员合同信息不存在"),
	EXE_CONTRACT_EXAMINE(201034, "该累计日期数据已审核,不允许修改"),
	INFO_CONTRACT_EMPTY(201035, "信息价核算合同列表为空"),
	INFO_AREA_EMPTY(201036, "未获取到该月合同生效区域信息价列表"),
	SALE_SUPPLY_MAX_NUM(201037, "该合同已经申请授信天数或金额1次,请等待下一周期在申请"),
	SALE_CONTRACT_EXIST_NAME(201038, "同一客户,同一类型的工程名称不能重复存在"),
	SALE_CONTRACT_NOT_PAYMENT(201039, "此合同授信后未完成违约付款,故无法申请工程授信"),

	/**地图错误信息***/
	/***请选择站点**/
	MAP_STATION_EMPTY(202001,"请选择站点"),
	/***请设置经度**/
	MAP_LNG_EMPTY(202002,"请设置经度"),
	/***请设置纬度**/
	MAP_LAT_EMPTY(202003,"请设置纬度"),

	/**材料相关返回值**/
	/*** 更新类型错误 ***/
	MATERIAL_UPDATE_TYPE(203001,"更新类型错误"),
	/*** 没有采购合同 ***/
	NO_MATERIAL_CONTRACT(203002,"没有采购合同"),
	/*** 材料已存在,""),请勿重复添加 ***/
	MATERIAL_REPEAT_ADD(203003,"材料已存在,请勿重复添加"),
	/*** 材料供应商识别码已存在,""),请勿重复添加 ***/
	MATERIAL_SUPPLIER_CODE_REPEAT_ADD(203004,"材料供应商识别码已存在"),
	/*** 材料供应商名已存在,""),请勿重复添加 ***/
	MATERIAL_SUPPLIER_NAME_REPEAT_ADD(203005,"材料供应商名已存在"),
	/*** 材料供应商简称已存在,""),请勿重复添加 ***/
	MATERIAL_SUPPLIER_ABBREVIATION_REPEAT_ADD(203006,"材料供应商简称已存在"),
	NO_MATERIAL_DATA(203007,"未查询到材料数据"),
	NO_SUPPLIER_CODE_EMPTY(203008,"供应商Code码不能为空"),
	NO_SUPPLIER_NAME_EMPTY(203009,"供应商简称或全称不能为空"),
	NO_SUPPLIER_ORIGIN_EMPTY(203010,"供应商关联公司不能为空"),
	NO_SUPPLIER_CODE_EXIST(203011,"供应商code码或名称已存在"),
	NO_SUPPLIER_NOT(203012,"供应商不存在"),
	NO_ACCOUNT_REALNAME_EMPTY(203013,"收款名称不能为空"),
	NO_ACCOUNT_BANK_NAME_EMPTY(203014,"开户银行不能为空"),
	NO_ACCOUNT_BANK_EMPTY(203015,"开户账户不能为空"),
	NO_ACCOUNT_EMPTY(203016,"供应商付款账户不存在"),
	NO_MATERIAL_CONTRACT_NAME_EMPTY(203017,"材料合同名称不能为空"),
	NO_MATERIAL_CONTRACT_DATE_EMPTY(203018,"合同生效时间或结束时间未选择"),
	NO_MATERIAL_CONTRACT_EMPTY(203019,"合同不存在"),
	NO_PRODUCTION_CONTRACT_NAME_EMPTY(203020,"生产合同名称不能为空"),
	NO_PRODUCTION_CONTRACT_DATE_EMPTY(203021,"合同生效时间或结束时间未选择"),
	NO_PRODUCTION_CONTRACT_EMPTY(203022,"合同不存在"),
	CODE_EMPTY(203023,"业务编号不能为空"),
	NAME_EMPTY(203024,"业务名称不能为空"),
	PROPERTY_UNIT_EMPTY(203025,"业务单位不能为空"),
	PROPERTY_REAL_NAME_EMPTY(203026,"登记责任人不能为空"),
	PROPERTY_NUM_EMPTY(203027,"请输入登记数量"),
	WEIGHT_DATA_EXISTS_NOT_DELETE(203028,"存在过磅数据,不允许删除"),
	MATERIAL_PARENT_EXISTS(203029,"材料与父类材料相同"),
	MATERIAL_WEIGHT_EXISTS(203030,"材料存在过磅记录,请联系管理员调整"),
	MATERIAL_SUPPLIER_EXISTS(203031,"存在相同供应商合同"),
	NO_CONTRACT_NAME_EMPTY(203032,"合同名称不能重复"),

	/*** 微信订单返回码 ***/
	WECHAT_ORDER_NO_DATA(205001,"未绑定合同或无数据"),

	NO_CAR_NO(207001,"未获取到车牌号"),
	NO_USER_INFO(207101,"用户信息不存在"),
	ERROR_DRIVER_NAME(207102,"姓名格式不合法"),
	ERROR_STATION(207103,"站点信息错误"),
	ERROR_SUPPLIER(207104,"供应商信息错误"),
	ERROR_MATERIAL(207105,"材料信息错误"),
	ERROR_TARE(207106,"皮重信息不合法"),
	ERROR_CAR_NO(207107,"车牌号不合法"),
	ERROR_SCENE_TYPE(207108,"应用场景不合法"),
	ERROR_ORDER_TYPE(207109,"订单类型不合法"),
	ERROR_NO_IMAGE(207110,"搅拌站材料车需上传出场磅单"),
	ERROR_NO_NETWEIGHT(207111,"未获取到出场净重信息"),
	ERROR_IMG_OK_ORDER(207112,"订单保存成功,图片同步失败"),
	ERROR_ORDER_EMPTY(207113,"订单记录不存在"),
	ORDER_STATUS_EMPTY(207114,"审核订单状态错误"),
	ORDER_NETWEIGHT_EMPTY(207115,"出场净重错误"),
	ORDER_CARNO_EMPTY(207116,"订单车牌号错误"),
	ERROR_ORDER_EXAMINE(207117,"该订单已审核,请勿重复审核"),
	ERROR_WEIGHT_TYPE(207118,"过磅类型错误"),
	ERROR_WEIGHT_CAR_TYPE(207119,"车辆类型错误"),
	ERROR_TARE_MAX(207120,"更新皮重大于原始上限值"),
	ERROR_AIP_MATERIAL(207121,"供应商材料错误"),
	BIZ_DATA_EXISTS(207122,"业务数据已存在"),
	ERROR_SAVE_TARE(207123,"保存车辆皮重信息识别"),
	NOT_AIPMATERIAL(207124,"未获取到磅单识别材料"),
	MATE_MATERIAL_TO_AIPMATERIAL(207125,"关联材料与磅单识别材料不匹配,请确认磅单材料信息是否识别正确或确认选择材料是否正确"),
	GROSS_REPEAT(207126,"该订单已过毛重,请联系管理员删除"),
	EMPTY_MESSAGE(207127,"错误信息为空"),
	STOP_SUPPLIER(207128,"供应商已被停用,请联系材料调度"),
	EXE_CHECK_ORDER(207129,"存在已检测订单,请联系检测员删除后在提交"),
	ERROR_STATION_BIZ_NOT(207130,"该站点未开通此业务"),
	REPEAT_ERROR_ORDER(207131,"存在重复错误订单,请联系材料调度审核"),
	TARE_REPEAT(207132,"该订单已过皮重,请联系管理员删除"),
	MATERIAL_CONTRACT_DELETE(207133,"材料合同已禁用或不存在,请联系材料调度删除"),

	/***任务不存在**/
	OA_TASK_NOT(301001, "任务不存在或已被处理"),
	OA_OPINION_EMPTY(301002, "审核意见为空"),
	OA_SAVE_OPINION_ERROR(301003, "保存审核意见错误"),
	OA_PAY_RECORD_EMPTY(301004, "支付记录不存在"),
	OA_ORDERID_EMPTY(301005, "流程实例ID为空"),
	OA_HIST_TASK_EMPTY(301006, "历史任务信息不存在"),
	OA_HIST_TASK_APPROVAL(301008, "流程已经被处理,不能撤回或删除"),
	OA_UNDO_USER_ERROR(301009, "流程撤销人员不匹配"),
	OA_BIZ_EMPTY(301010, "流程实例业务不存在"),
	OA_PROCESS_EMPTY(301011, "流程实例不存在"),
	OA_PAY_STATUS_EMPTY(301013, "支付状态为空"),
	OA_PAY_MONEY_ERROR(301014, "支付金额错误"),
	OA_PAY_MAX_ERROR(301015, "支付金额不能大于总金额"),
	OA_MONEY_ZERO_ERROR(301016, "付款金额必须大于0"),
	OA_SUBJECT_MONEY_ERROR(301017, "报销费用项请填写说明信息"),
	OA_SUBJECT_DETAIL_ERROR(301018, "报销费用项合计不能超过80个字符"),
	OA_NEXT_LEVEL_EMPTY(301019, "下级岗位为空"),
	OA_BIZID_EMPTY(301020, "业务表单ID为空"),
	OA_BIZ_DELETE(301021, "业务表单已删除或流程已作废"),
	OA_BIZ_EDIT_NOT(301022, "只能修改编辑中或打回流程"),
	OA_PAYMENT_ERROR(301023, "请填写完成收款人信息"),
	OA_MATERIAL_EMPTY(301024, "付款流程未关联材料信息"),
	OA_CAPITAL_EMPTY(301025, "付款流程大写金额未生成"),
	OA_MATERIAL_CONTRACT_EMPTY(301024, "付款流程未关联材料合同"),
	OA_PRODUCTION_CONTRACT_EMPTY(301025, "付款流程未关联生产运输合同"),
	OA_ORIGIN_EMPTY(301026, "关联工厂为空"),
	OA_DEPT_EMPTY(301027, "关联部门为空"),
	OA_POSITION_EMPTY(301028, "关联岗位为空"),
	OA_EXAMINE_ERROR(301029, "审批人与登录信息不匹配"),
	OA_HANDLE_ERROR(301030, "处理人与登录信息不匹配"),
	OA_HANDLE_STATUS_ERROR(301031, "流程并非待处理状态"),
	OA_COST_TYPE_EMPTY(301032, "费用类型不能为空"),
	OA_ORDER_BIZ_EMPTY(301033, "流程实例为空"),
	OA_CLOCK_IN_TIME_OUT(301034,"打卡时间与系统时间相差过大"),
	OA_CLOCK_IN_TIME_EMPTY(301035,"未选择打卡时间"),
	OA_CLOCK_IN_ADDRESS_EMPTY(301036,"未选择打卡地点"),
	OA_CLOCK_IN_TIME_INTERVAL_SHORT(301036,"打卡时间过近"),
	OA_CLOCK_IN_OUTSIDE_CONTENT_EMPTY(301037,"未输入打卡原因"),
	OA_CLOCK_IN_PIC_EMPTY(301038,"打卡未拍照"),
	OA_CLOCK_IN_REPEATED_CLOCKING(301039,"重复打卡"),
	OA_LEAVE_DAY_EMPTY(301040,"请假天数错误"),
	OA_LEAVE_CONTENT_EMPTY(301041,"请假理由为空"),
	OA_LEAVE_START_DATE_EMPTY(301042,"请假开始日期为空"),
	OA_LEAVE_END_DATE_EMPTY(301043,"请假结束日期为空"),
	OA_LEAVE_START_TYPE_EMPTY(301044,"请假开始时间类型为空"),
	OA_LEAVE_END_TYPE_EMPTY(301045,"请假结束时间类型为空"),
	OA_SUPPLEMENT_DAY_EMPTY(301046,"补卡时间为空"),
	OA_SUPPLEMENT_CONTENT_EMPTY(301047,"补卡事由为空"),
	OA_SUPPLEMENT_EXIST_RECORD(301048,"该日期已有考勤记录,不支持补卡"),
	OA_CLOCK_IN_AFFIRM_DATE_NOT_SCOPE(301049,"不在确认考勤时间范围"),
	OA_BIZ_NOT_ADOPT(301050,"流程未通过"),
	OA_CAR_TYPE_EMPTY(301051,"登记车辆类型为空"),
	OA_CAR_QUALITY_ERROR(301052,"车辆性质为空"),
	OA_NAME_EMPTY(301053,"登记人姓名或公司为空"),
	OA_VALID_DATA_EMPTY(301054,"失效时间为空"),
	OA_VALID_DATA_ABOVE(301055,"临时车辆失效时间不能大于30天"),
	OA_CAR_EXIST(301056,"车辆信息已存在"),
	OA_PAY_TIME_EMPTY(301057, "支付时间不能为空"),
	/***请填写发票种类**/
	OA_INVOICE_TYPE_EMPTY(301057,"请填写发票种类"),
	OA_INVOICE_APPLY_TIME_EMPTY(301058,"请填写发票申请时间"),
	OA_INVOICE_CLIENT_EMPTY(301059,"请填写客户名称"),
	OA_INVOICE_CON_NAME_EMPTY(301060,"请填写项目名称"),
	OA_INVOICE_IDENTIFIER_EMPTY(301061,"请填写纳税人识别号"),
	OA_INVOICE_BANK_NO_EMPTY(301062,"请填写开户行及账号"),
	OA_INVOICE_BILL_START_TIME_EMPTY(301063,"请选择对账结算开始时间"),
	OA_INVOICE_BILL_END_TIME_EMPTY(301064,"请选择对账结算截止时间"),
	OA_INVOICE_STAGE_MONEY_EMPTY(301065,"请填写前期开票金额"),
	OA_INVOICE_CURRENT_MONEY_EMPTY(301066,"请填写本期开票金额"),
	OA_INVOICE_SUM_MONEY_EMPTY(301067,"请填写累计开票金额"),
	OA_INVOICE_EMAIL_EMPTY(301068,"请填写发票接收邮箱"),
	OA_INVOICE_REMARK_EMPTY(301069,"请填写备注栏明细"),
	OA_BUY_MATERIAL_EMPTY(301070,"请填写申购子项材料名称"),
	OA_BUY_UINT_EMPTY(301071,"请填写申购材料子项单位"),
	OA_BUY_NUM_EMPTY(301072,"请填写申购材料子项数量"),
	OA_BIZ_RUN_NOT(301073, "只能修改运行中流程"),
	OA_BUY_ITEM_EMPTY(301074,"申购子项不能为空"),
	OA_SAVE_BUY_ITEM_ERROR(301075,"保存材料子项错误"),
	OA_BUY_ITEM_ERROR(301076,"申购子项不能超过5个"),
	;
	// 状态码
	private final Integer code;
	// 说明信息
	private final String msg;

	Code(Integer code, String msg) {
		this.msg = msg;
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public Integer getCode() {return code;}

	/**
	 * 根据枚举值，获取返回信息
	 * @param code
	 * @return
	 */
	public static String getMsg(Integer code) {
		Code[] codes = values();
		for (Code sysCode : codes) {
			if (sysCode.getCode().equals(code)) {
				return sysCode.getMsg();
			}
		}
		return "操作失败";
	}

}
